package com.yidu.KuangJia.entity;

/*
rightCode
 */
public class RightAndRole {
    private int id;
    private int roleId;
    private String rightCode;


    public RightAndRole(){}

    public RightAndRole(int id, int roleId, String rightCode) {
        this.id = id;
        this.roleId = roleId;
        this.rightCode = rightCode;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public String getRightCode() {
        return rightCode;
    }

    public void setRightCode(String rightCode) {
        this.rightCode = rightCode;
    }

    @Override
    public String toString() {
        return "RightAndRole{" +
                "id=" + id +
                ", roleId=" + roleId +
                ", rightCode='" + rightCode + '\'' +
                '}';
    }
}
